import axios from './axios'
import resfulParamsToUrl from './resfulParamsToUrl'

//医院接口管理
//分页查询
export const hospInterfacePageList = params => {
	axios.prototype._loading_ = false
	return axios.post(
		resfulParamsToUrl('/sys/noAuth/hospInterfaceManage/pageList', params),
		params,
	)
}
//新增hospInterfacePageList
export const insertHospInterface = params => {
	axios.prototype._loading_ = false
	return axios.post(
		resfulParamsToUrl('/sys/noAuth/hospInterfaceManage/insert', params),
		params,
	)
}
//修改
export const updateHospInterface = params => {
	axios.prototype._loading_ = false
	return axios.post(
		resfulParamsToUrl('/sys/noAuth/hospInterfaceManage/update', params),
		params,
	)
}
//删除
export const deleteHospInterface = params => {
	axios.prototype._loading_ = false
	return axios.post(
		resfulParamsToUrl('/sys/noAuth/hospInterfaceManage/delete', params),
		params,
	)
}
